# -*- coding: utf-8 -*-
"""
Created on Fri Sep 17 19:45:11 2021

@author: Think
"""

for x in range(1,10):
    for y in range(1,10):
        if((x*y)<10): print("%d × %d =" %(x,y),x*y)
        else: print("%d × %d =%d" %(x,y,x*y))

"""
对齐的方法很笨，“代价”也很大，应该有更好的办法
"""